@import "~taro-ui-vue/dist/style/components/icon.scss";

.activity-detail-page {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  background-color: #ffedb9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  .activity-detail-title {
    font-size: 37px;
    color: #000000;
    text-align: center;
    position: sticky;
    top: 0;
    padding-bottom: 20px;
    z-index: 3;
    transition: background-color 0.5s;
    .back-btn {
      position: absolute;
      left: 24px;
      width: 40px;
      background-size: 40px;
      background-repeat: no-repeat;
      background-position: center;
    }
  }
  .bg-white {
    background-color: #ffffff;
  }
  .clock-in-progress {
    padding: 24px 30px 0;
    .title {
      display: flex;
      justify-content: space-between;
      font-size: 28px;
      .title-left {
        font-weight: bold;
        color: #303133;
      }
      .title-right {
        color: #000000;
      }
    }
    .progress {
      margin-top: 12px;
    }
  }
  .operation-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    .btn-wrap {
      display: flex;
      .bx-32 {
        width: 192px;
        margin-left: 32px;
      }
    }
    .btn-text {
      margin-left: 6px;
      font-size: 28px;
      font-weight: bold;
      color: #a13d0f;
    }
    .operation-btn {
      display: flex;
      justify-content: center;
      padding: 0px 8px;
      image {
        height: 28px;
        width: 28px;
        // vertical-align: top;
        margin-top: 6px;
      }
    }
    .strategy-btn {
      width: 120px;
      height: 50px;
      padding-left: 24px;
      background: #ffad1c;
      border: 2px solid #a13d0f;
      border-right: none;
      border-radius: 100px 0px 0px 100px;
      font-size: 28px;
      color: #ffffff;
      display:flex;
      align-items: center;
      image {
        width: 10.18px;
        height: 17.46px;
        margin-left: 12px;
      }
    }
  }
  .activity-detail {
    padding: 0px 30px;
    margin-top: 40px;
    .activity-title {
      font-size: 32px;
      color: #303133;
    }
    .activity-ranking {
      height: 84px;
      background: rgba(255, 215, 0, 0.2);
      border: 2px solid #ffeea9;
      border-radius: 16px;
      margin-top: 32px;
      padding: 16px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .avatar-wrap {
        width: 210px;
        height: 52px;
      }
      .mid-text {
        width: 220px;
        font-size: 24px;
        color: #606266;
        .num {
          display: inline;
          color: #ff8000;
        }
      }
      .view-ranking {
        width: 140px;
        font-size: 24px;
        text-align: right;
        color: #303133;
        padding-right: 20px;
        background-position: right center;
        background-repeat: no-repeat;
        background-size: 8.8px 16px;
      }
    }
    .activity-btn-wrap {
      margin-top: 62px;
      .group-btn-wrap {
        display: flex;
        justify-content: space-between;
        .group-btn {
          width: 300px;
          height: 88px;
          font-size: 32px;
          font-weight: bold;
          line-height: 88px;
          color: #ffffff;
          text-align: center;
          background-size: contain;
          background-repeat: no-repeat;
        }
        .has-more {
          position: relative;
          .more-tips {
            width: 145.12px;
            height: 54px;
            background-size: contain;
            background-repeat: no-repeat;
            font-size: 24px;
            font-weight: bold;
            line-height: 44px;
            color: #a13d0f;
            text-align: center;
            position: absolute;
            top: -34px;
            right: -6px;
          }
        }
      }
      .single-btn {
        margin: 0 auto;
        width: 600px;
        height: 88px;
        font-size: 32px;
        font-weight: bold;
        line-height: 88px;
        color: #ffffff;
        text-align: center;
        background-size: contain;
        background-repeat: no-repeat;
      }
      .dis {
        opacity: 0.4;
        pointer-events: none;
      }
    }
  }
  .wrap-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .theme-content { 
    &-wrap {
      background-color: #FFF5D5;
      flex: 1;
    }
    position: relative;
    margin-top: 86px;
    .theme-content-title {
      position: absolute;
      width: 394px;
      height: 80px;
      font-size: 36px;
      line-height: 80px;
      color: #a13d0f;
      text-align: center;
      background-size: contain;
      background-repeat: no-repeat;
      top: 0;
      left: 50%;
      transform: translateX(-50%) translateY(-50%);
      z-index: 2;
    }
    .theme-query {
      padding-top: 30px;
      padding-bottom: 48px;
      display: flex;
      justify-content: space-between;
      .theme-query-search {
        width: 560px;
        height: 64px;
        background: #fffbea;
        border-radius: 100px;
        padding: 12px 32px 12px 78px;
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: 32px center;
        .search-input {
          width: 100%;
          height: 40px;
          // border: 1px solid #ccc;
          color: #a13d0f;
        }
      }
      .theme-query-sort {
        width: 100px;
        height: 64px;
        font-size: 32px;
        font-weight: 400;
        line-height: 64px;
        color: #a13d0f;
        background-size: 24px;
        background-repeat: no-repeat;
        background-position: right center;
      }
    }
    .border-box-use {
      margin-bottom: 32px;
      .theme-item {
        // background-color: aquamarine;
        display: flex;
        .item-left {
          flex: 1;
          width: 400px;
          padding-right: 36px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          .title {
            font-size: 32px;
            font-weight: bold;
            color: #303133;
            text-overflow: -o-ellipsis-lastline;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
          }
          .clocked {
            color: #909399;
          }
          .desc {
            font-size: 24px;
            font-weight: 400;
            color: #606266;
            // width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding-left: 40px;
            background-position: left center;
            background-repeat: no-repeat;
            background-size: 28px;
          }
        }
        .item-right {
          width: 192px;
          height: 192px;
          image {
            width: 100%;
            height: 100%;
            border-radius: 16px;
          }
        }
      }
    }
  }
  .today-empty {
    margin: 40px 0;
    padding-top: 232px;
    font-size: 28px;
    font-weight: 400;
    line-height: 40px;
    color: #909399;
    text-align: center;
    // background-image: url("http://xthk-edu-test.oss-cn-shenzhen.aliyuncs.com/1607218643987_0.10254894567532302");
    background-position: top center;
    background-size: 380px 200px;
    background-repeat: no-repeat;
  }
  .empty {
    height: 1110px;
    padding: 40px 30px;
    .empty-wrap-box {
      height: 100%;
      .empty-wrap {
        height: 900px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .empty-pic {
          width: 380px;
          height: 200px;
          margin-bottom: 32px;
        }
        .main {
          font-size: 32px;
          font-weight: bold;
          color: #333333;
          margin-bottom: 16px;
        }
        .tips {
          font-size: 28px;
          color: #909399;
          margin-bottom: 32px;
        }
        .empty-btn {
          width: 300px;
          height: 88px;
          font-size: 32px;
          font-weight: bold;
          line-height: 88px;
          color: #ffffff;
          text-align: center;
          background-size: contain;
          background-repeat: no-repeat;
        }
      }
    }
  }
}
